<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;

class TeacherQualification extends Model
{
    protected $table = 'teacher_qualifications';
    public $timestamps = false;
    use HasFactory;


    public static $levelInfo = [
        '低级' => '低级', '中级' => '中级', '高级' => '高级'
    ];

    public function teacher()
    {
        return $this->belongsTo(Teacher::class, 'teacher_id');
    }

}
